﻿@model IEnumerable<DenderaMvcWeb.Models.costruzione_articolo>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.id_costruzione)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.filato.label)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.articolo.label)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.numero_caduta)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.note)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.guidafilo)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.sensore)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.tensionatura)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.bordo)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.st_bordo)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.panty)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.fas_rete)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.gamba)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.punta)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.sbilanciamento)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.punto_dello_sbilanciamento)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.SB)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.id_costruzione)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.filato.label)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.articolo.label)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.numero_caduta)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.note)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.guidafilo)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sensore)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.tensionatura)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.bordo)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.st_bordo)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.panty)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.fas_rete)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.gamba)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.punta)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sbilanciamento)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.punto_dello_sbilanciamento)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.SB)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id = item.id_costruzione }) |
            @Html.ActionLink("Details", "Details",  new { id = item.id_costruzione }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.id_costruzione }) 
        </td>
    </tr>
}

</table>
